package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_WarehouseArea", catalog="Id")
public class TccWarehouseArea extends BaseEntity<TccWarehouseArea> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Ckq", nameJava="ckq", typeDataBase="varchar")
	private String ckq;
	@YsField(nameDataBase="Cck", nameJava="cck", typeDataBase="varchar")
	private String cck;
	@YsField(nameDataBase="Vkq", nameJava="vkq", typeDataBase="varchar")
	private String vkq;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccWarehouseArea setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCkq() {
		return ckq;
	}
	public TccWarehouseArea setCkq(String ckq) {
		this.ckq = ckq;
		return this;
	}
	public String getCck() {
		return cck;
	}
	public TccWarehouseArea setCck(String cck) {
		this.cck = cck;
		return this;
	}
	public String getVkq() {
		return vkq;
	}
	public TccWarehouseArea setVkq(String vkq) {
		this.vkq = vkq;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccWarehouseArea setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccWarehouseArea setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccWarehouseArea setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccWarehouseArea setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccWarehouseArea tccWarehouseArea(
		String ckq,
		String cck,
		String vkq,
		String remark,
		Integer status
			) {
		TccWarehouseArea entity = new TccWarehouseArea();
		entity.setCkq(ckq);
		entity.setCck(cck);
		entity.setVkq(vkq);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}